package domain

type Logs struct {
	ID         uint   `gorm:"primaryKey;autoIncrement" json:"id"`
	UserID     string `gorm:"not null" json:"user_id"`
	Action     string `gorm:"not null" json:"action"`
	Type       string `gorm:"not null;size:50" json:"type"`
	Timestamp  string `json:"timestamp"`
	Details    string `json:"details"`
	LanguageID string `gorm:"size:50" json:"language_id,omitempty"`
}

func (Logs) TableName() string {
	return "logs"
}
